package com.work.work.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "团队成员视图对象")
public class TeamMemberDTO {
    @Schema(description = "用户ID")
    private Integer id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "角色ID")
    private Integer roleId;

    @Schema(description = "角色名称")
    private String rolename;

    @Schema(description = "团队ID")
    private Integer teamId;

    @Schema(description = "团队名称")
    private String teamname;
}